package main

import (
	"gitee.com/dark.H/go-plug-net/api/tg"
	"gitee.com/dark.H/go-utils/s"
)

func main() {
	tg := tg.NewTgAPI()
	s.ArgsFromINIStruct(tg)

	tg.AddHook("/help", func(name, msg string) (sendMsg string, ifsend bool) {
		return `
/help
/info
/exec
/connect
		`, true
	})
	tg.Start()

}
